import store from './store'
const key = 'token'

export const getToken = () => store.get(key)

export const setToken = value => store.set(key, value)

export const removeToken = () => store.remove(key)

export const hasToken = () => store.has(key)